package wzc.design_pattern.construction.composite;

/**
 * @Author 那和不是个啥
 * @Date 2025/7/20
 * @Description
 */

public class Manager implements Employee {

    private String name;
    private String department;

    public Manager(String name, String department) {
        this.name = name;
        this.department = department;
    }

    @Override
    public void showDetails() {
        System.out.println("经理：" + name + "，部门：" + department);
    }
}
